package com.ruoyi.trash.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回收站对象 trash
 *
 * @author huacai
 * @date 2024-07-10
 */
public class Trash extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 回收站ID */
    private Integer trashId;

    /** 文件ID */
    @Excel(name = "文件ID")
    private Integer filesId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String name;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private BigDecimal size;

    /** 删除时间 */
    @Excel(name = "删除时间")
    private String time;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 操作人 */
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setTrashId(Integer trashId)
    {
        this.trashId = trashId;
    }

    public Integer getTrashId()
    {
        return trashId;
    }
    public void setFilesId(Integer filesId)
    {
        this.filesId = filesId;
    }

    public Integer getFilesId()
    {
        return filesId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSize(BigDecimal size)
    {
        this.size = size;
    }

    public BigDecimal getSize()
    {
        return size;
    }
    public void setTime(String time)
    {
        this.time = time;
    }

    public String getTime()
    {
        return time;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trashId", getTrashId())
            .append("filesId", getFilesId())
            .append("name", getName())
            .append("size", getSize())
            .append("time", getTime())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
